package edu.xust.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AdminExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public AdminExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAdidIsNull() {
            addCriterion("adId is null");
            return (Criteria) this;
        }

        public Criteria andAdidIsNotNull() {
            addCriterion("adId is not null");
            return (Criteria) this;
        }

        public Criteria andAdidEqualTo(Integer value) {
            addCriterion("adId =", value, "adid");
            return (Criteria) this;
        }

        public Criteria andAdidNotEqualTo(Integer value) {
            addCriterion("adId <>", value, "adid");
            return (Criteria) this;
        }

        public Criteria andAdidGreaterThan(Integer value) {
            addCriterion("adId >", value, "adid");
            return (Criteria) this;
        }

        public Criteria andAdidGreaterThanOrEqualTo(Integer value) {
            addCriterion("adId >=", value, "adid");
            return (Criteria) this;
        }

        public Criteria andAdidLessThan(Integer value) {
            addCriterion("adId <", value, "adid");
            return (Criteria) this;
        }

        public Criteria andAdidLessThanOrEqualTo(Integer value) {
            addCriterion("adId <=", value, "adid");
            return (Criteria) this;
        }

        public Criteria andAdidIn(List<Integer> values) {
            addCriterion("adId in", values, "adid");
            return (Criteria) this;
        }

        public Criteria andAdidNotIn(List<Integer> values) {
            addCriterion("adId not in", values, "adid");
            return (Criteria) this;
        }

        public Criteria andAdidBetween(Integer value1, Integer value2) {
            addCriterion("adId between", value1, value2, "adid");
            return (Criteria) this;
        }

        public Criteria andAdidNotBetween(Integer value1, Integer value2) {
            addCriterion("adId not between", value1, value2, "adid");
            return (Criteria) this;
        }

        public Criteria andRidIsNull() {
            addCriterion("rId is null");
            return (Criteria) this;
        }

        public Criteria andRidIsNotNull() {
            addCriterion("rId is not null");
            return (Criteria) this;
        }

        public Criteria andRidEqualTo(Integer value) {
            addCriterion("rId =", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotEqualTo(Integer value) {
            addCriterion("rId <>", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidGreaterThan(Integer value) {
            addCriterion("rId >", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidGreaterThanOrEqualTo(Integer value) {
            addCriterion("rId >=", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidLessThan(Integer value) {
            addCriterion("rId <", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidLessThanOrEqualTo(Integer value) {
            addCriterion("rId <=", value, "rid");
            return (Criteria) this;
        }

        public Criteria andRidIn(List<Integer> values) {
            addCriterion("rId in", values, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotIn(List<Integer> values) {
            addCriterion("rId not in", values, "rid");
            return (Criteria) this;
        }

        public Criteria andRidBetween(Integer value1, Integer value2) {
            addCriterion("rId between", value1, value2, "rid");
            return (Criteria) this;
        }

        public Criteria andRidNotBetween(Integer value1, Integer value2) {
            addCriterion("rId not between", value1, value2, "rid");
            return (Criteria) this;
        }

        public Criteria andAdnameIsNull() {
            addCriterion("adName is null");
            return (Criteria) this;
        }

        public Criteria andAdnameIsNotNull() {
            addCriterion("adName is not null");
            return (Criteria) this;
        }

        public Criteria andAdnameEqualTo(String value) {
            addCriterion("adName =", value, "adname");
            return (Criteria) this;
        }

        public Criteria andAdnameNotEqualTo(String value) {
            addCriterion("adName <>", value, "adname");
            return (Criteria) this;
        }

        public Criteria andAdnameGreaterThan(String value) {
            addCriterion("adName >", value, "adname");
            return (Criteria) this;
        }

        public Criteria andAdnameGreaterThanOrEqualTo(String value) {
            addCriterion("adName >=", value, "adname");
            return (Criteria) this;
        }

        public Criteria andAdnameLessThan(String value) {
            addCriterion("adName <", value, "adname");
            return (Criteria) this;
        }

        public Criteria andAdnameLessThanOrEqualTo(String value) {
            addCriterion("adName <=", value, "adname");
            return (Criteria) this;
        }

        public Criteria andAdnameLike(String value) {
            addCriterion("adName like", value, "adname");
            return (Criteria) this;
        }

        public Criteria andAdnameNotLike(String value) {
            addCriterion("adName not like", value, "adname");
            return (Criteria) this;
        }

        public Criteria andAdnameIn(List<String> values) {
            addCriterion("adName in", values, "adname");
            return (Criteria) this;
        }

        public Criteria andAdnameNotIn(List<String> values) {
            addCriterion("adName not in", values, "adname");
            return (Criteria) this;
        }

        public Criteria andAdnameBetween(String value1, String value2) {
            addCriterion("adName between", value1, value2, "adname");
            return (Criteria) this;
        }

        public Criteria andAdnameNotBetween(String value1, String value2) {
            addCriterion("adName not between", value1, value2, "adname");
            return (Criteria) this;
        }

        public Criteria andAdpasswordIsNull() {
            addCriterion("adPassword is null");
            return (Criteria) this;
        }

        public Criteria andAdpasswordIsNotNull() {
            addCriterion("adPassword is not null");
            return (Criteria) this;
        }

        public Criteria andAdpasswordEqualTo(String value) {
            addCriterion("adPassword =", value, "adpassword");
            return (Criteria) this;
        }

        public Criteria andAdpasswordNotEqualTo(String value) {
            addCriterion("adPassword <>", value, "adpassword");
            return (Criteria) this;
        }

        public Criteria andAdpasswordGreaterThan(String value) {
            addCriterion("adPassword >", value, "adpassword");
            return (Criteria) this;
        }

        public Criteria andAdpasswordGreaterThanOrEqualTo(String value) {
            addCriterion("adPassword >=", value, "adpassword");
            return (Criteria) this;
        }

        public Criteria andAdpasswordLessThan(String value) {
            addCriterion("adPassword <", value, "adpassword");
            return (Criteria) this;
        }

        public Criteria andAdpasswordLessThanOrEqualTo(String value) {
            addCriterion("adPassword <=", value, "adpassword");
            return (Criteria) this;
        }

        public Criteria andAdpasswordLike(String value) {
            addCriterion("adPassword like", value, "adpassword");
            return (Criteria) this;
        }

        public Criteria andAdpasswordNotLike(String value) {
            addCriterion("adPassword not like", value, "adpassword");
            return (Criteria) this;
        }

        public Criteria andAdpasswordIn(List<String> values) {
            addCriterion("adPassword in", values, "adpassword");
            return (Criteria) this;
        }

        public Criteria andAdpasswordNotIn(List<String> values) {
            addCriterion("adPassword not in", values, "adpassword");
            return (Criteria) this;
        }

        public Criteria andAdpasswordBetween(String value1, String value2) {
            addCriterion("adPassword between", value1, value2, "adpassword");
            return (Criteria) this;
        }

        public Criteria andAdpasswordNotBetween(String value1, String value2) {
            addCriterion("adPassword not between", value1, value2, "adpassword");
            return (Criteria) this;
        }

        public Criteria andAdnicknameIsNull() {
            addCriterion("adNickName is null");
            return (Criteria) this;
        }

        public Criteria andAdnicknameIsNotNull() {
            addCriterion("adNickName is not null");
            return (Criteria) this;
        }

        public Criteria andAdnicknameEqualTo(String value) {
            addCriterion("adNickName =", value, "adnickname");
            return (Criteria) this;
        }

        public Criteria andAdnicknameNotEqualTo(String value) {
            addCriterion("adNickName <>", value, "adnickname");
            return (Criteria) this;
        }

        public Criteria andAdnicknameGreaterThan(String value) {
            addCriterion("adNickName >", value, "adnickname");
            return (Criteria) this;
        }

        public Criteria andAdnicknameGreaterThanOrEqualTo(String value) {
            addCriterion("adNickName >=", value, "adnickname");
            return (Criteria) this;
        }

        public Criteria andAdnicknameLessThan(String value) {
            addCriterion("adNickName <", value, "adnickname");
            return (Criteria) this;
        }

        public Criteria andAdnicknameLessThanOrEqualTo(String value) {
            addCriterion("adNickName <=", value, "adnickname");
            return (Criteria) this;
        }

        public Criteria andAdnicknameLike(String value) {
            addCriterion("adNickName like", value, "adnickname");
            return (Criteria) this;
        }

        public Criteria andAdnicknameNotLike(String value) {
            addCriterion("adNickName not like", value, "adnickname");
            return (Criteria) this;
        }

        public Criteria andAdnicknameIn(List<String> values) {
            addCriterion("adNickName in", values, "adnickname");
            return (Criteria) this;
        }

        public Criteria andAdnicknameNotIn(List<String> values) {
            addCriterion("adNickName not in", values, "adnickname");
            return (Criteria) this;
        }

        public Criteria andAdnicknameBetween(String value1, String value2) {
            addCriterion("adNickName between", value1, value2, "adnickname");
            return (Criteria) this;
        }

        public Criteria andAdnicknameNotBetween(String value1, String value2) {
            addCriterion("adNickName not between", value1, value2, "adnickname");
            return (Criteria) this;
        }

        public Criteria andAdheadIsNull() {
            addCriterion("adHead is null");
            return (Criteria) this;
        }

        public Criteria andAdheadIsNotNull() {
            addCriterion("adHead is not null");
            return (Criteria) this;
        }

        public Criteria andAdheadEqualTo(String value) {
            addCriterion("adHead =", value, "adhead");
            return (Criteria) this;
        }

        public Criteria andAdheadNotEqualTo(String value) {
            addCriterion("adHead <>", value, "adhead");
            return (Criteria) this;
        }

        public Criteria andAdheadGreaterThan(String value) {
            addCriterion("adHead >", value, "adhead");
            return (Criteria) this;
        }

        public Criteria andAdheadGreaterThanOrEqualTo(String value) {
            addCriterion("adHead >=", value, "adhead");
            return (Criteria) this;
        }

        public Criteria andAdheadLessThan(String value) {
            addCriterion("adHead <", value, "adhead");
            return (Criteria) this;
        }

        public Criteria andAdheadLessThanOrEqualTo(String value) {
            addCriterion("adHead <=", value, "adhead");
            return (Criteria) this;
        }

        public Criteria andAdheadLike(String value) {
            addCriterion("adHead like", value, "adhead");
            return (Criteria) this;
        }

        public Criteria andAdheadNotLike(String value) {
            addCriterion("adHead not like", value, "adhead");
            return (Criteria) this;
        }

        public Criteria andAdheadIn(List<String> values) {
            addCriterion("adHead in", values, "adhead");
            return (Criteria) this;
        }

        public Criteria andAdheadNotIn(List<String> values) {
            addCriterion("adHead not in", values, "adhead");
            return (Criteria) this;
        }

        public Criteria andAdheadBetween(String value1, String value2) {
            addCriterion("adHead between", value1, value2, "adhead");
            return (Criteria) this;
        }

        public Criteria andAdheadNotBetween(String value1, String value2) {
            addCriterion("adHead not between", value1, value2, "adhead");
            return (Criteria) this;
        }

        public Criteria andAdsexIsNull() {
            addCriterion("adSex is null");
            return (Criteria) this;
        }

        public Criteria andAdsexIsNotNull() {
            addCriterion("adSex is not null");
            return (Criteria) this;
        }

        public Criteria andAdsexEqualTo(String value) {
            addCriterion("adSex =", value, "adsex");
            return (Criteria) this;
        }

        public Criteria andAdsexNotEqualTo(String value) {
            addCriterion("adSex <>", value, "adsex");
            return (Criteria) this;
        }

        public Criteria andAdsexGreaterThan(String value) {
            addCriterion("adSex >", value, "adsex");
            return (Criteria) this;
        }

        public Criteria andAdsexGreaterThanOrEqualTo(String value) {
            addCriterion("adSex >=", value, "adsex");
            return (Criteria) this;
        }

        public Criteria andAdsexLessThan(String value) {
            addCriterion("adSex <", value, "adsex");
            return (Criteria) this;
        }

        public Criteria andAdsexLessThanOrEqualTo(String value) {
            addCriterion("adSex <=", value, "adsex");
            return (Criteria) this;
        }

        public Criteria andAdsexLike(String value) {
            addCriterion("adSex like", value, "adsex");
            return (Criteria) this;
        }

        public Criteria andAdsexNotLike(String value) {
            addCriterion("adSex not like", value, "adsex");
            return (Criteria) this;
        }

        public Criteria andAdsexIn(List<String> values) {
            addCriterion("adSex in", values, "adsex");
            return (Criteria) this;
        }

        public Criteria andAdsexNotIn(List<String> values) {
            addCriterion("adSex not in", values, "adsex");
            return (Criteria) this;
        }

        public Criteria andAdsexBetween(String value1, String value2) {
            addCriterion("adSex between", value1, value2, "adsex");
            return (Criteria) this;
        }

        public Criteria andAdsexNotBetween(String value1, String value2) {
            addCriterion("adSex not between", value1, value2, "adsex");
            return (Criteria) this;
        }

        public Criteria andAdphoneIsNull() {
            addCriterion("adPhone is null");
            return (Criteria) this;
        }

        public Criteria andAdphoneIsNotNull() {
            addCriterion("adPhone is not null");
            return (Criteria) this;
        }

        public Criteria andAdphoneEqualTo(String value) {
            addCriterion("adPhone =", value, "adphone");
            return (Criteria) this;
        }

        public Criteria andAdphoneNotEqualTo(String value) {
            addCriterion("adPhone <>", value, "adphone");
            return (Criteria) this;
        }

        public Criteria andAdphoneGreaterThan(String value) {
            addCriterion("adPhone >", value, "adphone");
            return (Criteria) this;
        }

        public Criteria andAdphoneGreaterThanOrEqualTo(String value) {
            addCriterion("adPhone >=", value, "adphone");
            return (Criteria) this;
        }

        public Criteria andAdphoneLessThan(String value) {
            addCriterion("adPhone <", value, "adphone");
            return (Criteria) this;
        }

        public Criteria andAdphoneLessThanOrEqualTo(String value) {
            addCriterion("adPhone <=", value, "adphone");
            return (Criteria) this;
        }

        public Criteria andAdphoneLike(String value) {
            addCriterion("adPhone like", value, "adphone");
            return (Criteria) this;
        }

        public Criteria andAdphoneNotLike(String value) {
            addCriterion("adPhone not like", value, "adphone");
            return (Criteria) this;
        }

        public Criteria andAdphoneIn(List<String> values) {
            addCriterion("adPhone in", values, "adphone");
            return (Criteria) this;
        }

        public Criteria andAdphoneNotIn(List<String> values) {
            addCriterion("adPhone not in", values, "adphone");
            return (Criteria) this;
        }

        public Criteria andAdphoneBetween(String value1, String value2) {
            addCriterion("adPhone between", value1, value2, "adphone");
            return (Criteria) this;
        }

        public Criteria andAdphoneNotBetween(String value1, String value2) {
            addCriterion("adPhone not between", value1, value2, "adphone");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("email is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("email is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("email =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("email <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("email >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("email >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("email <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("email <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("email like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("email not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("email in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("email not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("email between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("email not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andAdstatusIsNull() {
            addCriterion("adStatus is null");
            return (Criteria) this;
        }

        public Criteria andAdstatusIsNotNull() {
            addCriterion("adStatus is not null");
            return (Criteria) this;
        }

        public Criteria andAdstatusEqualTo(Integer value) {
            addCriterion("adStatus =", value, "adstatus");
            return (Criteria) this;
        }

        public Criteria andAdstatusNotEqualTo(Integer value) {
            addCriterion("adStatus <>", value, "adstatus");
            return (Criteria) this;
        }

        public Criteria andAdstatusGreaterThan(Integer value) {
            addCriterion("adStatus >", value, "adstatus");
            return (Criteria) this;
        }

        public Criteria andAdstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("adStatus >=", value, "adstatus");
            return (Criteria) this;
        }

        public Criteria andAdstatusLessThan(Integer value) {
            addCriterion("adStatus <", value, "adstatus");
            return (Criteria) this;
        }

        public Criteria andAdstatusLessThanOrEqualTo(Integer value) {
            addCriterion("adStatus <=", value, "adstatus");
            return (Criteria) this;
        }

        public Criteria andAdstatusIn(List<Integer> values) {
            addCriterion("adStatus in", values, "adstatus");
            return (Criteria) this;
        }

        public Criteria andAdstatusNotIn(List<Integer> values) {
            addCriterion("adStatus not in", values, "adstatus");
            return (Criteria) this;
        }

        public Criteria andAdstatusBetween(Integer value1, Integer value2) {
            addCriterion("adStatus between", value1, value2, "adstatus");
            return (Criteria) this;
        }

        public Criteria andAdstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("adStatus not between", value1, value2, "adstatus");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}